package com.cloud.order;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * @author: Dream_xun
 * @date: 2021-01-17 18:19
 * @description:
 */
@ComponentScan(basePackages = {"com.cloud.order"})
@Configuration
@EnableAutoConfiguration
@EnableDiscoveryClient
@MapperScan("com.cloud.order.mapper")
public class OrderApplication {
    public static void main(String[] args) {
        SpringApplication.run(OrderApplication.class,args);
    }
}
